<html>
<head>
<script>
  var a = [1, 2, 3];
  for (var x of a) {
    alert(x);
  }
</script>
</head>
<body>
  for...of 遍历每个元素
</body>
</html>
